import { request } from "@/utils/request";

// 获取频道列表
export function getChannelApi() {
  return request({
    url: "/channels",
    method: "get",
  });
}
// 发布文章
export function publishArticleApi(data) {
  request({
    url: "/mp/articles?draft=false",
    method: "post",
    data,
  });
}


